package DAITINGTING.Car;

public class Car {
    String carname;

    String carnumber;

    String carweight;

    String selfIntroduction(){

        return "车的名字:"+carname+",车牌号:"+carnumber+",最大载重量:"+carweight;

    }

    Car(String cheming, String ch, String zhongliang) {

        carname=cheming;

        carnumber=ch;

        carweight=zhongliang;

    }


}
